const { sequelize, QueryTypes } = require('../libs/mysql');

const getPDARelease = async () => {
    let query = ' select * from pda_release where id is not null and status = 1 order by version desc LIMIT 1; ';
    let paramsArray=[],i=0;
    return await sequelize.query(query, { replacements: paramsArray, type: QueryTypes.SELECT });
};

module.exports = {
    getPDARelease
};
